package com.suning.sawp.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.suning.sawp.constants.ConfigConstants;
import com.suning.sawp.service.util.AESUtils;

@Controller
@RequestMapping("/test")
public class TestController {
    @RequestMapping("/index")
    public String test() {
        return "test.ftl";
    }
    
    
    public static void main(String[] args) {
//        ODRGrtg8tWx0sf2glDKCrA==

        System.out.println(AESUtils.encrypt("100000011", ConfigConstants.AES_KEY));
    }
}
